<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>分类详情</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <link href="css/base.css" type="text/css" rel="stylesheet">
    <link href="css/common.css" type="text/css" rel="stylesheet">
    <script src="js/jquery.js"></script>
    <script src="js/common.js"></script>
    <script>
        $(function () {
            loadData("category");
        });
        function showMerchantList(data){
            showMore(data);
			if(scriptFlag){
				data = data.data;
				loadingEnd();
			}
            var activities = data.list;
            var activityStr = '';
            $.each(activities,function(index,obj){
                activityStr += '<div class="activity-list category-list" data-go="'+htmlObj.merchant+'-'+obj.id+'">';
                activityStr += '<img src="'+obj.pic+'" onerror="this.src=\''+imgObj.merchant+'\';this.onerror=null;" />'
                activityStr += '<div class="name">'
                activityStr += '<p>'+obj.name+'</p>'
                activityStr += '<span>'+obj.intro+'</span>';
                activityStr += '<h4>'+obj.cuxiao+'</h4>';
                activityStr += '</div>';
                activityStr += '</div>';
            });
            $(".activity").append(activityStr);
        }
    </script>
</head>
<body>
    <div class="activity">
    </div>
    <a class="more" href="javascript:;">加载更多</a>
</body>
</html>